* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

  database connect time: 0.0003 seconds. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

* preference 'system/nc_server_start.json', organization '0' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

error: preference 'system/nc_server_start.json' was not found
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:550: in function 'printError'
	/Users/pasi/nc/nc-server/lib/db/dprf.lua:466: in function 'preferenceFromJson'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:44: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:27>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	20.12.2021 	15:48:18 	lx 	(1. Application process)

Tcp server 2 starting. 	20.12.2021 	15:48:18 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	20.12.2021 	15:48:18 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	20.12.2021 	15:48:18 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	20.12.2021 	15:48:18 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	20.12.2021 	15:48:18 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	20.12.2021 	15:48:18 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	20.12.2021 	15:48:18 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

  database connect time: 0.0003 seconds. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-demo/fi_demo'. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x011440ccb0, size: 400. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://10.49.162.76:5949/
                          https://127.0.0.1:5949/, https://10.49.162.76:5949/. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5949/, 10.49.162.76:5949/. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

--- server started in 0.003 seconds, 2021-12-20 15:48:20, used memory 2993.4 kb --- 	 5. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	20.12.2021 	15:48:20 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

  database connect time: 0.0004 seconds. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

* preference 'system/nc_server_start.json', organization '0' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

error: preference 'system/nc_server_start.json' was not found
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:550: in function 'printError'
	/Users/pasi/nc/nc-server/lib/db/dprf.lua:466: in function 'preferenceFromJson'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:44: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:27>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	20.12.2021 	16:29:35 	lx 	(1. Application process)

Tcp server 2 starting. 	20.12.2021 	16:29:35 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	20.12.2021 	16:29:35 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	20.12.2021 	16:29:35 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	20.12.2021 	16:29:35 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	20.12.2021 	16:29:35 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	20.12.2021 	16:29:36 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	20.12.2021 	16:29:36 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

  database connect time: 0.0002 seconds. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-demo/fi_demo'. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x012bb65f20, size: 400. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

* cached preference files: demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/4d.json. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.192:5949/
                          https://127.0.0.1:5949/, https://192.168.32.192:5949/. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.192:5949/. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

--- server started in 0.002 seconds, 2021-12-20 16:29:37, used memory 3051.6 kb --- 	 5. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	20.12.2021 	16:29:37 	lx 	(5. Tcp Server 2)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	20.12.2021 	17:18:43 	lx 	(5. Tcp Server 2)

closing socket '72'. 	20.12.2021 	17:18:43 	lx 	(5. Tcp Server 2)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	20.12.2021 	17:18:43 	lx 	(5. Tcp Server 2)

closing socket '73'. 	20.12.2021 	17:18:43 	lx 	(5. Tcp Server 2)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            116432
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	20.12.2021 	17:18:43 	lx 	(5. Tcp Server 2)

--- server stopped ---. 	20.12.2021 	17:18:43 	lx 	(5. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x012bb65f20. 	20.12.2021 	17:18:43 	lx 	(5. Tcp Server 2)

